package cn.edu.scau.cmi.lintianwei.adapter;

import java.util.List;

public class SortUtil {
	public List<Integer> sortInt(List<Integer> intList) {
		for (int i = 0; i < intList.size(); i++) {
			for (int j = i + 1; j < intList.size(); j++) {
				if (intList.get(i) > intList.get(j)) {
					Integer temp = intList.get(i);
					intList.set(i, intList.get(j));
					intList.set(j, temp);
				}
			}
		}
		return intList;
	}
}
